package dao;

import java.util.List;

import bean.Worker;

public interface WorkerDAO {

    boolean add(Worker worker);

    boolean edit(Worker temporary);

    boolean remove(int workerId);

    List<Worker> queryAll();

    List<Worker> queryByWorkerName(String keyword);

    List<Worker> queryByTelephone(String keyword);

    List<Worker> queryByWorkerId(int workerId);

}